package mil.af.amc.adpetracker.model.comparators;

import mil.af.amc.adpetracker.model.Model;

import java.util.Comparator;

/**
 * Compares the names of two model objects
 *
 * @author TSgt Jason Ferguson
 */

public class ModelNameComparator implements Comparator<Model> {

    public int compare(Model o1, Model o2) {
        return o1.getName().compareTo(o2.getName());
    }
}
